package com.ruoyi.passenger.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户详情-充值记录-新增对象 tb_passenger_recharge_flow
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbPassengerRechargeFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值ID */
    @Excel(name = "充值ID")
    private Long rechargeId;

    /** 充值流水号 */
    @Excel(name = "充值流水号")
    private String rechargeNo;

    /** 乘客ID */
    @Excel(name = "乘客ID")
    private Long passengerId;

    /** 充值时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rechargeTime;

    /** 充值金额-本金 */
    @Excel(name = "充值金额-本金")
    private BigDecimal principalAmount;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    private BigDecimal giftAmount;

    /** 充值折扣 */
    @Excel(name = "充值折扣")
    private String rechargeDiscount;

    /** 充值渠道 */
    @Excel(name = "充值渠道")
    private String rechargeChannel;

    /** 第三方充值流水号 */
    @Excel(name = "第三方充值流水号")
    private String thirdPartyRechargeNo;

    public void setRechargeId(Long rechargeId) 
    {
        this.rechargeId = rechargeId;
    }

    public Long getRechargeId() 
    {
        return rechargeId;
    }

    public void setRechargeNo(String rechargeNo) 
    {
        this.rechargeNo = rechargeNo;
    }

    public String getRechargeNo() 
    {
        return rechargeNo;
    }

    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }

    public void setRechargeTime(Date rechargeTime) 
    {
        this.rechargeTime = rechargeTime;
    }

    public Date getRechargeTime() 
    {
        return rechargeTime;
    }

    public void setPrincipalAmount(BigDecimal principalAmount) 
    {
        this.principalAmount = principalAmount;
    }

    public BigDecimal getPrincipalAmount() 
    {
        return principalAmount;
    }

    public void setGiftAmount(BigDecimal giftAmount) 
    {
        this.giftAmount = giftAmount;
    }

    public BigDecimal getGiftAmount() 
    {
        return giftAmount;
    }

    public void setRechargeDiscount(String rechargeDiscount) 
    {
        this.rechargeDiscount = rechargeDiscount;
    }

    public String getRechargeDiscount() 
    {
        return rechargeDiscount;
    }

    public void setRechargeChannel(String rechargeChannel) 
    {
        this.rechargeChannel = rechargeChannel;
    }

    public String getRechargeChannel() 
    {
        return rechargeChannel;
    }

    public void setThirdPartyRechargeNo(String thirdPartyRechargeNo) 
    {
        this.thirdPartyRechargeNo = thirdPartyRechargeNo;
    }

    public String getThirdPartyRechargeNo() 
    {
        return thirdPartyRechargeNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rechargeId", getRechargeId())
            .append("rechargeNo", getRechargeNo())
            .append("passengerId", getPassengerId())
            .append("rechargeTime", getRechargeTime())
            .append("principalAmount", getPrincipalAmount())
            .append("giftAmount", getGiftAmount())
            .append("rechargeDiscount", getRechargeDiscount())
            .append("rechargeChannel", getRechargeChannel())
            .append("thirdPartyRechargeNo", getThirdPartyRechargeNo())
            .toString();
    }
}
